package com.tj.collection.controller.user.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fqgj.common.api.ResponseData;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName: UserResponseDTO
 * @description: 用户信息响应
 * @author: yuwn
 * @create: 2023-11-21 15:10
 */
@Data
public class UserResponse implements ResponseData {

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("用户码")
    private String userCode;

    @ApiModelProperty("性别")
    private String gender;

    @ApiModelProperty("性向")
    private String lookingFor;

    @ApiModelProperty("email")
    private String email;

    @ApiModelProperty("手机号")
    private String mobile;

    @ApiModelProperty("渠道")
    private String channel;

    @ApiModelProperty("当前会员状态")
    private String memberStatus;

    @ApiModelProperty("用户注册时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date registerDate;

    @ApiModelProperty("最近一次登录时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastLoginTime;

    @ApiModelProperty("最近一次登录版本")
    private String lastLoginVersion;

    @ApiModelProperty("是否删除")
    private Integer deleted;

}

